package progark.a9.javaserver;

import java.util.ArrayList;

public class Player {
	private String id;
	private ArrayList<Ship> ships;
	
	public Player(){
		id = "";
		ships = new ArrayList<Ship>();

	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public ArrayList<Ship> getShips() {
		return ships;
	}

	public void setShips(ArrayList<Ship> ships) {
		this.ships = ships;
	}
	
	public void addShip(Ship ship) {
		this.ships.add(ship);
	}
	
//	public void setShot(int position){
//		if(enemyMap[position].charAt(1) == '')
//	}

}
